package com.wxzhou.wangzhuan.repository;

import java.util.ArrayList;
import java.util.List;

public class QueryConditionUtil {
    private List<Object> params = new ArrayList<>();
    private StringBuilder queryStr;

    //分页参数
    private List<Object> pageParams = new ArrayList<>();

    //构造分页查询对象
    private StringBuilder pageStr;

    public QueryConditionUtil() {
    }

    public QueryConditionUtil(List<Object> params, StringBuilder queryStr) {
        this.params = params;
        this.queryStr = queryStr;
    }

    public List<Object> getParams() {
        return params;
    }

    public void setParams(List<Object> params) {
        this.params = params;
    }

    public StringBuilder getQueryStr() {
        return queryStr;
    }

    public void setQueryStr(StringBuilder queryStr) {
        this.queryStr = queryStr;
    }

    public List<Object> getPageParams() {
        return pageParams;
    }

    public void setPageParams(List<Object> pageParams) {
        this.pageParams = pageParams;
    }

    public StringBuilder getPageStr() {
        return pageStr;
    }

    public void setPageStr(StringBuilder pageStr) {
        this.pageStr = pageStr;
    }
}
